#include "uimanager.h"

UIManager &UIManager::Instance()
{
    static UIManager instance;
    return instance;
}

UIManager::UIManager()
{
    gameMainWindow = new GameMainWindow();
    album = new Album();
    record = new Record();
    dataView = new DataView();
    coverPage = new CoverPage();
    menu = new Menu();
}
UIManager::~UIManager()
{
    delete gameMainWindow;
    delete album;
    delete record;
    delete dataView;
    delete coverPage;
    delete menu;
}
